/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.deployment.servico;

import br.com.deployment.entidade.acesso.Usuario;
import br.com.deployment.entidade.protocolo.Protocolo;
import br.com.deployment.entidade.tramite.Tramite;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author roniere
 */
@Remote
public interface TramiteServico {
    
     public void save(Tramite entity);

    public void delete(Tramite entity);

    public Tramite update(Tramite entity);

    public Tramite find(int entityID);

    public List<Tramite> findAll();
    
    public void tramitar(Tramite t);
    
    public List<Tramite> findMyProtocolo(Usuario usuario, Protocolo protocolo);
    
    public Boolean existeTramiteAberto(Protocolo protocolo);
    
    public void relatorio(Protocolo protocolo);
    
}
